package com.ruoyi.develop.factory.factoryTestStandard.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 检验标准对象 factory_test_standard
 *
 * @author lmm
 * @date 2024-12-25
 */
public class FactoryTestStandard extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 材料id
     */
    private String materialId;

    /**
     * 材料名称
     */
    private String materialName;

    /**
     * 产品id
     */
    @Excel(name = "产品id")
    private String goodsId;

    /**
     * 产品名称
     */
    @Excel(name = "产品名称")
    private String goodsName;

    /**
     * 产品编码
     */
    @Excel(name = "产品编码")
    private String goodsCode;

    /**
     * 产品型号
     */
    @Excel(name = "产品型号")
    private String goodsModel;

    /**
     * 检验类型
     */
    @Excel(name = "检验类型")
    private String testType;

    /**
     * 属性名称
     */
    @Excel(name = "属性名称")
    private String propName;

    /**
     * 属性汉字
     */
    @Excel(name = "属性汉字")
    private String propNameCh;

    /**
     * 结果类型
     */
    @Excel(name = "结果类型")
    private String resultType;

    /**
     * 结果
     */
    @Excel(name = "结果")
    private String result;

    /**
     * 最大值
     */
    @Excel(name = "最大值")
    private String propValueMax;

    /**
     * 最小值
     */
    @Excel(name = "最小值")
    private String propValueMin;

    /**
     * 删除标志
     */
    private String delFlag;

    private List<FactoryTestStandard> columns;

    public List<FactoryTestStandard> getColumns() {
        return columns;
    }

    public void setColumns(List<FactoryTestStandard> columns) {
        this.columns = columns;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getMaterialId() {
        return materialId;
    }

    public void setMaterialId(String materialId) {
        this.materialId = materialId;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsModel(String goodsModel) {
        this.goodsModel = goodsModel;
    }

    public String getGoodsModel() {
        return goodsModel;
    }

    public void setTestType(String testType) {
        this.testType = testType;
    }

    public String getTestType() {
        return testType;
    }

    public void setPropName(String propName) {
        this.propName = propName;
    }

    public String getPropName() {
        return propName;
    }

    public void setPropNameCh(String propNameCh) {
        this.propNameCh = propNameCh;
    }

    public String getPropNameCh() {
        return propNameCh;
    }

    public void setPropValueMax(String propValueMax) {
        this.propValueMax = propValueMax;
    }

    public String getPropValueMax() {
        return propValueMax;
    }

    public void setPropValueMin(String propValueMin) {
        this.propValueMin = propValueMin;
    }

    public String getPropValueMin() {
        return propValueMin;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public String getResultType() {
        return resultType;
    }

    public void setResultType(String resultType) {
        this.resultType = resultType;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("goodsId", getGoodsId())
                .append("goodsName", getGoodsName())
                .append("goodsCode", getGoodsCode())
                .append("goodsModel", getGoodsModel())
                .append("testType", getTestType())
                .append("propName", getPropName())
                .append("propNameCh", getPropNameCh())
                .append("propValueMax", getPropValueMax())
                .append("propValueMin", getPropValueMin())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
